package com.zx.entity;

public class User {
    private String name;    //名称
    private String speak;   //言语

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSpeak() {
        return speak;
    }

    public void setSpeak(String speak) {
        this.speak = speak;
    }

    public void print() {
        System.out.println(this.name + ": " + this.speak);
    }

}
